package com.youhome.api.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by chen365 on 2018/05/25.
 */
@Data
@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
@ApiModel
public class SchoolItemResult {

    @ApiModelProperty(notes = "ID")
    private String id;

    @ApiModelProperty(notes = "名称")
    private String name;

    @ApiModelProperty(notes = "地址")
    private String address;

    @ApiModelProperty(notes = "类型")
    private String type;

    @ApiModelProperty(notes = "年级")
    private String grade;

    @ApiModelProperty(notes = "纬度")
    private Double lat;

    @ApiModelProperty(notes = "经度")
    private Double lng;
}
